//
//  TKYTaskInformationViewCell.m
//  StationHouseHelper
//
//  Created by apple on 2018/6/26.
//  Copyright © 2018年 铁科院. All rights reserved.
//

#import "TKYTaskInformationViewCell.h"
@interface TKYTaskInformationViewCell()

/**
 头像
 */
@property (weak, nonatomic) IBOutlet UIImageView *headerImageV;
/**
 名字
 */
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
/**
 时间
 */
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
/**
 工程
 */
@property (weak, nonatomic) IBOutlet UILabel *projectNameLabel;
/**
 类型
 */
@property (weak, nonatomic) IBOutlet UILabel *typeLabel;
/**
 状态 是否已读
 */
@property (weak, nonatomic) IBOutlet UIImageView *stateImageV;


@end
@implementation TKYTaskInformationViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = [UIColor whiteColor];
    self.headerImageV.backgroundColor = KrandomColor;
    [self.headerImageV tky_cornerWithRadius:25 borderColor:nil borderWidth:0];
    // Initialization code
}

- (void)setFrame:(CGRect)frame{
    //frame.origin.x += 10;
    frame.origin.y += 5;
    frame.size.height -= 5;
//    frame.size.width -= 20;
    [super setFrame:frame];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
